package com.qf.service;

import com.qf.dao.UserDao;
import com.qf.dao.UserDaoImpl;

public class UserServiceImpl implements UserService{

    //创建UserDao对象
    UserDao userDao = new UserDaoImpl();

    @Override
    public String getUser() {
        //通过UserDao实现数据库操作
        return userDao.getUser();
    }
}
